
export class ZilPayConnectedWallet {
  type = 2;

  provider = null;
  network = null;

  timestamp = "";
  addressInfo = null;

  constructor(props) {
    this.provider = props.zilpay;
    this.network = props.network;
    this.timestamp = props.timestamp || new Date();
    this.addressInfo = {
      bech32: props.bech32,
      byte20: props.base16,
    };
  }
}